package cn.iocoder.yudao.module.eval.dal.dataobject.employee;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.time.LocalDateTime;

/**
 * 员工培训记录 DO
 *
 * @author 芋道源码
 */
@TableName("eval_employee_training_record")
@KeySequence("eval_employee_training_record_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EvalEmployeeTrainingRecordDO extends BaseDO {

    /**
     * 编号
     */
    @TableId
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 培训名称
     */
    private String trainingName;

    /**
     * 培训类型
     */
    private String trainingType;

    /**
     * 培训机构
     */
    private String trainingOrganization;

    /**
     * 开始时间
     */
    private LocalDateTime startDate;

    /**
     * 结束时间
     */
    private LocalDateTime endDate;

    /**
     * 培训时长（小时）
     */
    private Integer trainingHours;

    /**
     * 培训内容
     */
    private String trainingContent;

    /**
     * 培训成绩
     */
    private String trainingScore;

    /**
     * 是否通过
     */
    private Boolean isPassed;

    /**
     * 证书编号
     */
    private String certificateNumber;

    /**
     * 证书颁发机构
     */
    private String certificateOrganization;

    /**
     * 证书有效期
     */
    private LocalDateTime certificateExpireDate;

    /**
     * 培训费用
     */
    private Double trainingCost;

    /**
     * 费用承担方
     */
    private String costBearer;

    /**
     * 备注
     */
    private String remarks;

}
